import { ILoadMapTypeAll } from '@/common';
import { getTenantID } from '@/utils';

/** 资产维保 工单类型【orderType】 */
export const orderType = () => {
  return `${getTenantID()}${ILoadMapTypeAll.ALLORDER_TYPE}1029`;
};
/** 业务Controller【controller】*/
export const requestController = () => {
  return 'assetMainten';
};

// <<<==========================资产维保流程状态变更===========================>>>START
/**`起草`*/
export const FSBG_STATE_QC = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.ASSET_MAINTENANCE_STATUS}1000`;
};
/**`审核中`*/
export const FSBG_STATE_SHZ = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.ASSET_MAINTENANCE_STATUS}1001`;
};
/**`审核通过`*/
export const FSBG_STATE_SHTG = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.ASSET_MAINTENANCE_STATUS}1002`;
};
/**`审核未通过`*/
export const FSBG_STATE_SHWTG = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.ASSET_MAINTENANCE_STATUS}1003`;
};
/**`作废`*/
export const FSBG_STATE_ZF = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.ASSET_MAINTENANCE_STATUS}1004`;
};

/** 业务Controller【controller】*/
export const BGrequestController = () => 'assetMainten';

/** 流程相关&流程类别【category】*/
export const BGflowBusinessType = () => `${getTenantID()}${ILoadMapTypeAll.ALLFLOW_TYPE}1018`;

/** 工单类型【orderType】 */
export const BGorderType = () => `${getTenantID()}${ILoadMapTypeAll.ALLORDER_TYPE}1029`;

/** 业务流程类别【businessCategory】【CHANGEPURCHASE_METHOD】 */
export const BGbusinessCategory = () => `${getTenantID()}${ILoadMapTypeAll.ALLFLOW_TYPE}1018`;

// <<<==========================材料转资产流程状态变更===========================>>>END
